package com.java47.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @authoru java1214
 * @create 2023-01-04 10:16
 */
//@Controller
@RestController
public class IndexController {

    @RequestMapping(value = "/index")
//    @ResponseBody
    public String index() {
        System.out.println("index");
        return "index";
    }
}
